package com.stox.client.api.charting;

import java.util.List;

import com.stox.shared.charting.model.ChartGroup;
import com.stox.shared.charting.model.SavedChart;

public interface ChartingClient {

	void save(SavedChart chart);
	
	void save(ChartGroup chartGroup);
	
	void deleteChartGroup(Long chartGroupId);
	
	void deleteSavedChart(Long savedChartId);
	
	List<ChartGroup> findAllChartGroups();
	
	List<SavedChart> findByChartGroupId(Long id);

	String loadContent(Long chartGroupId, Long savedChartId);
}
